<!DOCTYPE html>
<html>
 <meta charset='utf-8'/>
<script>
var d=prompt("请输入美元:");
var rmb=6.5744;
alert("人民币为："+d*rmb);
</script>
</html>